//
//  OvenTwoJieXi.m
//  Fragrance
//
//  Created by mark on 15/6/3.
//  Copyright (c) 2015年 dllo. All rights reserved.
//

#import "OvenTwoJieXi.h"

@implementation OvenTwoJieXi


+(NSMutableArray *)getOvenTwoModel:(NSData *)data
{
    NSMutableArray *array = [NSMutableArray array];
    NSError *error = nil;
    
    NSDictionary *dic = [NSJSONSerialization JSONObjectWithData:data options:NSJSONReadingMutableContainers error:&error];
    NSDictionary *dic1 = [dic objectForKey:@"wucan"];
    
    NSArray *arr = [dic1 objectForKey:@"chi"];
    
    for (NSMutableDictionary *dic2 in arr) {
        
    OvenTwoModel *model2 = [[OvenTwoModel alloc] initWithTitle:dic2];
        

        [array addObject:model2];
        
    }
    return array;
    
}


@end
